package fr.epsi.spring1.listeners;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import org.apache.log4j.Logger;

public class ProjetListener implements ServletContextListener {

	private final static Logger logger = Logger.getLogger(ProjetListener.class);

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		logger.error("Application started");
	}

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		logger.error("Application stopped");
	}

}
